Implement `debug-on-message'.
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 4 Sep 2012 21:21:00 +0000 (23:21 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 4 Sep 2012 21:21:00 +0000 (23:21 +0200)
commit835cbf03d64f983e8960d1f3c4e7bc0b853f2cdb
treeca9d87033e96097a2754146b6423a5f72486f58c
parent7c79c3bf14b9d4d38fbfb18e875b1ed2600dfac6
Implement `debug-on-message'.

This allows tracking down what piece of code is outputting stuff in
the echo area.

* eval.c (call_debugger): Make the function non-static so that we
can call it from set_message.

* xdisp.c (set_message): Implement the new variable `debug-on-message'.
(syms_of_xdisp): Defvar it and `inhibit-debug-on-message'.
doc/lispref/ChangeLog
doc/lispref/debugging.texi
etc/NEWS
src/ChangeLog
src/eval.c
src/lisp.h
src/xdisp.c